/**
* AutoSWF - Cody Cushing. March 26, 2009
* Copyright (c) 2009 Cody Cushing
* No use restrictions. Maintain this notice in all versions. 
**/

package com.autoswf.automator
{
	/**
	 * Implement to record events from and run functional test cases through the AutomationObserver.
	 */
	public interface IAutomationClient
	{
		/**
		 * AutomationObserver passes (limited) serialized events through this method. 
		 * 
		 * @param descriptor  String version of a node in this format: 
		 * <node delay="" className="" type="" path=""/>
		 */
		function handle(descriptor:String):void
		
		
		/**
		 * Reference for loading descriptors back into the AutomationObserver for execution.
		 */
		function set observer(value:IAutomationObserver):void
	}
}